package edu.zut.cs.software.perfect.course.service;

import java.util.List;
import java.util.Optional;

import edu.zut.cs.software.perfect.base.service.GenericTreeManager;
import edu.zut.cs.software.perfect.course.domain.CourseCategory;

/**
 * @ClassName CourseCategoryManager
 * @Description TODO
 * @Author liangying
 * @Date 2020年5月29日 下午9:02:49
 * @Version 1.0
 */
public interface CourseCategoryManager extends GenericTreeManager<CourseCategory, Long>{

	List<CourseCategory> findAll();
	
//	List<CourseCategory> findByCourseCategoryName(String categoryName);

	Boolean deleteCategoryId(Long courseId);
	
	Optional<CourseCategory> findByCourseId(Long courseId);
}
